
package org.xukai.remoting.ws.stringsoap2;

/**
 * Please modify this class to meet your needs
 * This class is not complete
 */

import java.io.File;
import java.net.MalformedURLException;
import java.net.URL;
import javax.xml.namespace.QName;
import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebResult;
import javax.jws.WebService;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.ws.RequestWrapper;
import javax.xml.ws.ResponseWrapper;

/**
 * This class was generated by Apache CXF 2.5.2
 * 2016-10-09T16:02:09.916+08:00
 * Generated source version: 2.5.2
 * 
 */
public final class Service_HimapEntryPort_Client {

    private static final QName SERVICE_NAME = new QName("http://www.ns2.com", "himapEntryService");

    private Service_HimapEntryPort_Client() {
    }

    public static void main(String args[]) throws Exception {
        URL wsdlURL = HimapEntryService.WSDL_LOCATION;
        if (args.length > 0 && args[0] != null && !"".equals(args[0])) { 
            File wsdlFile = new File(args[0]);
            try {
                if (wsdlFile.exists()) {
                    wsdlURL = wsdlFile.toURI().toURL();
                } else {
                    wsdlURL = new URL(args[0]);
                }
            } catch (MalformedURLException e) {
                e.printStackTrace();
            }
        }
      
        HimapEntryService ss = new HimapEntryService(wsdlURL, SERVICE_NAME);
        Service port = ss.getHimapEntryPort();  
        
        {
        System.out.println("Invoking demo...");
        String _demo_request = "";
        String _demo__return = port.demo(_demo_request);
        System.out.println("demo.result=" + _demo__return);


        }
        {
        System.out.println("Invoking singleExam...");
        String _singleExam_mpiid = "";
        String _singleExam_ehrid = "";
        String _singleExam__return = port.singleExam(_singleExam_mpiid, _singleExam_ehrid);
        System.out.println("singleExam.result=" + _singleExam__return);


        }
        {
        System.out.println("Invoking ehrNumSelection4...");
        String _ehrNumSelection4_startTime = "";
        String _ehrNumSelection4_last = "";
        String _ehrNumSelection4__return = port.ehrNumSelection4(_ehrNumSelection4_startTime, _ehrNumSelection4_last);
        System.out.println("ehrNumSelection4.result=" + _ehrNumSelection4__return);


        }

        System.exit(0);
    }

}
